/**
 * Copyright 厦门中软海晟信息技术有限公司 版权所有 违者必究 2019
 */
package com.zf.platform.entity;

import javax.persistence.Entity;
import javax.persistence.UniqueConstraint;
import javax.validation.constraints.NotBlank;

/**
 * @author : sunzb(sunzb@hsit.com.cn)
 * @date: 2019/1/7
 */
@Entity
public class User extends BaseEntity {
    private String username;
    @NotBlank
    private String password;
    private String role;
    private String qq;
    private String tel;

    public String getQq() {
        return qq;
    }

    public User setQq(String qq) {
        this.qq = qq;
        return this;
    }

    public String getTel() {
        return tel;
    }

    public User setTel(String tel) {
        this.tel = tel;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public User setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public User setPassword(String password) {
        this.password = password;
        return this;
    }

    public String getRole() {
        return role;
    }

    public User setRole(String role) {
        this.role = role;
        return this;
    }
}
